<%--
  Created by IntelliJ IDEA.
  User: ${USER}
  Date: ${DATE}
  Time: ${TIME}
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<base href="<%= basePath %>"/>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">
    <base href=""/>
    <title>账户余额</title>

    <link href="static/business/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
    <link href="static/business/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

    <link href="static/business/css/personal.css" rel="stylesheet" type="text/css">

    <script src="static/business/AmazeUI-2.4.2/assets/js/jquery.min.js" type="text/javascript"></script>
    <script src="static/business/AmazeUI-2.4.2/assets/js/amazeui.js" type="text/javascript"></script>

</head>

<body>
<!--头 -->
<header>
    <jsp:include page="header.jsp"/>
</header>
<div class="nav-table"></div>
<b class="line"></b>
<div class="center">
    <div class="col-main">
        <div class="main-wrap">
            <!--标题 -->
            <div class="am-cf am-padding">
                <div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">账户余额</strong> / <small>Account&nbsp;Balance</small>
                </div>
            </div>
            <hr/>
            <div class="finance">
                <div class="financeText">
                    <p>可用余额:<span>¥${onlineUser.customerBalance}.00</span></p>

                    <a href="static/business/safety.jsp">安全中心：保护账户资产安全</a>
                </div>
                <div class="financeTip">
                    <img src="static/business/images/Balance.png"/>
                    <a href="cntApi/balancelist">查看账户明细</a>
                    <p>
                        提示：余额是您在本商城的一个账户，如账户内有款项，下单时可以直接勾选使用，抵消部分总额，方便快捷安全高效。</p>
                </div>
            </div>
        </div>
        <!--底部-->
        <div class="footer"></div>
    </div>
    <aside class="menu"></aside>
</div>

</body>
<script>
    $(function () {
        $(".nav-table").load("<%= basePath %>static/business/person/nav.jsp");
        $("div.footer").load("<%= basePath %>static/business/home/footer.jsp");
        $("aside").load("<%= basePath %>static/business/home/aside.jsp");
    })
</script>
</html>